<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>My JSP 'index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="shortcut icon" href="favicon.ico" />
		<style type="text/css">
		</style>
		<script type="text/javascript">
			function sub()
			{
				myform.submit();
			}
		</script>
	</head>
	<body style="text-align: center;margin: 0" bgcolor=#eaf4fe>
		<form id="myform" method="post" action="StepOne">
		</form>
		<%
			String username = (String) request.getAttribute("name");
			String key = (String) request.getAttribute("key");
		%>
		<input type="hidden" name="sessionKey" id="sessionKey" value=<%=key%>>
		<div align="center"
			style="background-color: #465461; font-size: 20; width: 70%">
			<img alt="" src="images/test.jpg">
			欢迎您<%=username%>
		</div>
		<div style="height: 2"></div>
		<!--  -->
		<div align="center"
			style="height: 80%; width: 70%; background: #f3f3f3; padding: 0px; margin: 0px auto;">
			<div align="center"
				style="background: red; padding: 0px; margin: 0px auto;">
				<div id="home" align="center"
					style="border:1px solid #ccc;border-right:none;border-top:none;background: f9f8f8; width: 20%;height:40; margin: 0px; padding: 0px; float: left;line-height: 40px;">
					首页
				</div>
				<div id="stepone" align="center"
					style="border:1px solid #ccc;border-right:none;border-top:none;background: #619dd7; width: 20%;height:40; margin: 0px; padding: 0px; float: left;line-height: 40px;">
					创建新活动
				</div>
				<div id="steptwo" align="center"
					style="border:1px solid #ccc;border-right:none;border-top:none;background: #619dd7; width: 20%;height:40; margin: 0px; padding: 0px; float: left;line-height: 40px;">
					折扣专区
				</div>
				<div id="stepthree" align="right"
					style="border:1px solid #ccc;background: #619dd7;border-top:none;;width:40%;height:40; margin: 0px; padding: 0px; float: left;line-height: 40px;">
					<a href="http://www.baidu.com">帮助</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				</div>
			</div>
			<div id="body" style="width: 70%; height: 500px;line-height: 100px" align="center">
				<div style="padding-top: 100px">
					<label>暂没有活动，您可以点击</label><input type="button" class="btn" value="创建活动" onclick="sub()"><label>创建新活动</label>
				</div>
			</div>
		</div>
		<!--  -->
		<div align="center" id="bottom"
			style="background-color: #eaf4fe;width:70%; line-height: 20px;">
			<font color="#808080">
			Copyright (C) 2012-2013 www.qidian.com All Rights Reserved 版权所有</font>
		</div>
	</body>
</html>
